<header class="navbar navbar-default navbar-fixed-bottom" role="banner">
<div class="container">
	<div class="navbar-header">
	  <button class="navbar-toggle" type="button" data-toggle="collapse" style="margin-right:0px;" data-target=".bs-navbar-collapse">
        <span class="sr-only"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a href="{{$this->Html->url(Configure::read('Site.logo_url'))}}" style="padding:4px 5px;" class="navbar-brand">
      	<img src="{{$this->Html->image(Configure::read('Site.logo'),array('onlyurl'=>true))}}" style="max-height:40px;max-width:150px;" title="{{$site[title]}}">
      </a>
    </div>
	<nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
	<?php 
		if(empty($top_category_id)) $top_category_id=0;
	echo $this->Section->getNavMenu('Category',
		array(
			'selectedid'=> $top_category_id,
			'ulAttributes'=>array('class'=>'nav navbar-nav'),
                        'defaultClass'=>'ui-state-default',
			'preli'=>'',
			'sufli'=>'',
			'separator' => false,'inner_separator' => false,
			'maxdepth' => 1,
		),$site_cate_id
	);
	?>
    </nav>
</div>
</header>